package com.tenebrous.jestic.mapper.idao.framwork.meber.author;

import com.tenebrous.jestic.entity.framwork.meber.author.AuthRoleUser;
import com.tenebrous.jestic.mapper.ISuperMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

//@Mapper
public interface AuthRoleUserMapper extends ISuperMapper<AuthRoleUser> {

    @Select("SELECT * FROM AUTH_ROLE_USER A WHERE A.ROLEID=#{roleid} AND A.USERID=#{userid}")
    AuthRoleUser selectByRoleidAndUserid(@Param("roleid") String roleid, @Param("userid") String userid);
}